package com.example.dingtalkwebproject.service.impl;

import com.example.dingtalkwebproject.mapper.wBlShipHdMapper;
import com.example.dingtalkwebproject.pojo.vo.rejectReportedVO;
import com.example.dingtalkwebproject.pojo.wBlShipHd;
import com.example.dingtalkwebproject.service.wBlShipHdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class wBlShipHdServicelmpl implements wBlShipHdService {

    @Autowired
    private wBlShipHdMapper wBlShipHdMapper;

    @Override
    public int insertShipHdInfo(wBlShipHd wBlShipHd) {
        return wBlShipHdMapper.insertShipHdInfo(wBlShipHd);
    }

    @Override
    public int updateShipHdByBillId(rejectReportedVO rejectReportedVO) {
        return wBlShipHdMapper.updateShipHdByBillId(rejectReportedVO);
    }

    @Override
    public wBlShipHd selectShipInfoByBillId(String billId) {
        return wBlShipHdMapper.selectShipInfoByBillId(billId);
    }

    @Override
    public int updateShipHdStatusByBillId(String billId) {
        return wBlShipHdMapper.updateShipHdStatusByBillId(billId);
    }

    @Override
    public int procurementRejectUpdateShipHdByBillId(rejectReportedVO rejectReportedVO) {
        return wBlShipHdMapper.procurementRejectUpdateShipHdByBillId(rejectReportedVO);
    }

    @Override
    public int procurementApprovalUpdateShipHdByBillId(rejectReportedVO reportedVO) {
        return wBlShipHdMapper.procurementApprovalUpdateShipHdByBillId(reportedVO);
    }

    @Override
    public int updateWlInfoByBillId(rejectReportedVO rejectReportedVO) {
        return wBlShipHdMapper.updateWlInfoByBillId(rejectReportedVO);
    }

    @Override
    public int updateWlBillIdByBillId(rejectReportedVO reportedVO) {
        return wBlShipHdMapper.updateWlBillIdByBillId(reportedVO);
    }

    @Override
    public int riskUpdateStatusByBillId(rejectReportedVO reportedVO) {
        return wBlShipHdMapper.riskUpdateStatusByBillId(reportedVO);
    }

    @Override
    public int riskApprovalStatusByBillId(rejectReportedVO reportedVO) {
        return wBlShipHdMapper.riskApprovalStatusByBillId(reportedVO);
    }

    @Override
    public int updateScrapVideoByBillId(rejectReportedVO reportedVO) {
        return wBlShipHdMapper.updateScrapVideoByBillId(reportedVO);
    }

    @Override
    public int updateBfStatusByBillId(rejectReportedVO reportedVO) {
        return wBlShipHdMapper.updateBfStatusByBillId(reportedVO);
    }
}
